package com.xyht.sca_s.student_manage_system.modules.attendance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.attendance.entity.SmsAttendance;
import com.xyht.sca_s.student_manage_system.modules.attendance.entity.req.SmsAttendanceReq;

/**
 * <p>
 * 考勤打卡 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-02-23
 */
public interface SmsAttendanceService extends IService<SmsAttendance> {
        ResponseResult createAttendance(SmsAttendanceReq smsAttendanceReq,String user_id);
        ResponseResult updateAttendance(SmsAttendanceReq smsAttendanceReq,String user_id);
        ResponseResult closeAttendance(SmsAttendanceReq smsAttendanceReq,String user_id);
        ResponseResult getAttendanceList(Integer pageNum ,Integer pageSize,
                                         String bg_date,String end_date,
                                         String user_id,String event_name,
                                         Integer status,String search_str);
        ResponseResult getHistoryAttendanceEvent(String search_str,String user_id);
        ResponseResult getAttendanceDetail(String attendance_id,String user_id);

        ResponseResult addAttendanceStudent(SmsAttendanceReq smsAttendanceReq,String user_id);
        ResponseResult checkOutlierStudent(SmsAttendanceReq smsAttendanceReq,String user_id);


}
